﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_DownDAL
    {
        Dcms_DownModel AddModel(Dcms_DownModel model);
        bool CopyDown(int SourceCateID, int DestCateID);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_DownModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_DownModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_DownModel GetNewModelByCatID(int CatID);
        bool MoveDown(int SourceCateID, int DestCateID);
        Dcms_DownModel Update(Dcms_DownModel model);
        bool UpdateState(string AllID, int StateValue);
    }
}

